package com.cefa.finance.model;

import javax.persistence.*;

@Entity
@Table(name = "cefa_finance_user")
public class User {
    private Long id;
    private String tenantryName;
    private String phone;
    private String idCode;
    private String tenantryAddress;
    private String education;
    private String marriage;
    private String yearsOfWorking;
    private String profession;
    private String emgContactName;
    private String emgContactPhone;
    private String emgContactRelation;

    private String userFileAddress;
    private Long recordUser;
    private Boolean blockStatus;

    private String blockHash;
    private String blockNumber;



    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantryName() {
        return tenantryName;
    }

    public void setTenantryName(String tenantryName) {
        this.tenantryName = tenantryName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCode() {
        return idCode;
    }

    public void setIdCode(String idCode) {
        this.idCode = idCode;
    }

    public String getTenantryAddress() {
        return tenantryAddress;
    }

    public void setTenantryAddress(String tenantryAddress) {
        this.tenantryAddress = tenantryAddress;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getYearsOfWorking() {
        return yearsOfWorking;
    }

    public void setYearsOfWorking(String yearsOfWorking) {
        this.yearsOfWorking = yearsOfWorking;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getEmgContactName() {
        return emgContactName;
    }

    public void setEmgContactName(String emgContactName) {
        this.emgContactName = emgContactName;
    }

    public String getEmgContactPhone() {
        return emgContactPhone;
    }

    public void setEmgContactPhone(String emgContactPhone) {
        this.emgContactPhone = emgContactPhone;
    }

    public String getEmgContactRelation() {
        return emgContactRelation;
    }

    public void setEmgContactRelation(String emgContactRelation) {
        this.emgContactRelation = emgContactRelation;
    }

    public String getUserFileAddress() {
        return userFileAddress;
    }

    public void setUserFileAddress(String userFileAddress) {
        this.userFileAddress = userFileAddress;
    }

    public Long getRecordUser() {
        return recordUser;
    }

    public void setRecordUser(Long recordUser) {
        this.recordUser = recordUser;
    }

    public Boolean getBlockStatus() {
        return blockStatus;
    }

    public void setBlockStatus(Boolean blockStatus) {
        this.blockStatus = blockStatus;
    }

    public String getBlockHash() {
        return blockHash;
    }

    public void setBlockHash(String blockHash) {
        this.blockHash = blockHash;
    }

    public String getBlockNumber() {
        return blockNumber;
    }

    public void setBlockNumber(String blockNumber) {
        this.blockNumber = blockNumber;
    }
}
